<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<div class="content">
    <form action="">
        <div class="blocksection">
            <div class="blockcontent">
                <h3>Detail Bank</h3>
                <table cellpadding="0" cellspacing="0" border="0" width="928px" id="table_view">
                    <tbody>
                        <tr>
                            <td width="25%">NPSN :</td>
                            <td width="75%">${data.npsn}</td>
                        </tr>    
                        <tr>
                            <td width="25%">NSS :</td>
                            <td width="75%">${data.nss}</td>
                        </tr>
                        <tr>
                            <td width="25%">Nama :</td>
                            <td width="75%">${data.nama}</td>
                        </tr>
                        <tr>
                            <td width="25%">Alamat :</td>
                            <td width="75%">${data.alamat}</td>
                        </tr>
                        <tr>
                            <td width="25%">Kelurahan :</td>
                            <td width="75%">${data.kelurahan.nama}</td>
                        </tr>
                        <tr>
                            <td width="25%">Kecamatan :</td>
                            <td width="75%">${data.kelurahan.kecamatan.nama}</td>
                        </tr>
                        <tr>
                            <td width="25%">Kabupaten :</td>
                            <td width="75%">${data.kelurahan.kecamatan.kabupaten.nama}</td>
                        </tr>
                        <tr>
                            <td width="25%">Satuan Pendidikan :</td>
                            <td width="75%">${data.satuanPendidikan}</td>
                        </tr>
                        <tr>
                            <td width="25%">Jenjang Sekolah :</td>
                            <td width="75%">${data.jenjangSekolah}</td>
                        </tr>
                        <tr>
                            <td width="25%">Bank :</td>
                            <td width="75%">${data.bank.nama}</td>
                        </tr>
                        <tr>
                            <td width="25%">Nomor Rekening :</td>
                            <td width="75%">${data.rekening}</td>
                        </tr>
                        <tr>
                            <td width="25%">Penandatangan 1 :</td>
                            <td width="75%">${data.penandatangan1}</td>
                        </tr>
                        <tr>
                            <td width="25%">Penandatangan 2 :</td>
                            <td width="75%">${data.penandatangan2}</td>
                        </tr>
                    </tbody>
                </table>
                <div class="form-agree buttonWrapper">
                    <a href="<c:url value='/sekolah/${data.npsn}/anggaran' />" class="view">Anggaran</a>
                    <a href="<c:url value='/sekolah/${data.npsn}/statusLaporan' />" class="view">Status Laporan</a>
                    <a href="<c:url value='/sekolah/${data.npsn}/jumlahSiswa' />" class="view">Jumlah Siswa</a>
                </div>
                <div class="form-agree buttonWrapper">
                    <a href="<c:url value='/sekolah/new' />" class="view">Tambah</a>
                    <a href="<c:url value='/sekolah/${data.npsn}/edit' />" class="edit">Ubah</a>
                    <a onclick="return confirm('Apakah anda Yakin ?')"
                           href="<c:url value='/sekolah/${data.npsn}/delete' />"
                           class="delete">Hapus</a>
                </div>
                <div class="form-agree buttonWrapper">
                    <a href="<c:url value='/sekolah' />" class="back">Kembali</a>
                </div>
            </div>
        </div>
    </form>
</div>